#ifndef DBCONNECT_H
#define DBCONNECT_H

#include <QtSql/QSqlDatabase>
//#include <QtSql/QSqlError>
//#include <QtSql/QSqlQuery>
//#include <QDebug>

class DbConnect
{
public:
    DbConnect();
    ~DbConnect();
    QSqlDatabase getConnection();

private:
    QSqlDatabase connection;

};

#endif // DBCONNECT_H
